@layout("/common/_container.html",{js:["/assets/basic/basicArea/basicArea.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">Warehouse Area Management</span> <!-- 库区表管理 -->
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
		                    <div class="layui-inline">
								<select id="areaWarehouseId">
                    <option value="">Select Warehouse</option> <!-- 选择仓库 -->
						            @for(item in wlist!){
						            <option value="${item.id}">${item.warehouseName}</option>
						            @}
					        	</select>
		                    </div>
				            <div class="layui-inline">
				                <input id="condition" class="layui-input" type="text" placeholder="Name"/> <!-- 名称 -->
				            </div>
				            <div class="layui-inline">
				                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>Search</button> <!-- 搜索 -->
                <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>Add</button> <!-- 添加 -->
                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>Export</button> <!-- 导出 -->
                <button id="btnAssign" class="layui-btn layui-btn-normal"><i class="layui-icon">&#xe642;</i>Batch Assign Material Categories</button> <!-- 批量分配物料大类 -->
				            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="basicAreaTable" lay-filter="basicAreaTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">Edit</a> <!-- 修改 -->
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">Delete</a> <!-- 删除 -->
</script>



@}